package com.wjyf.reducing_bento.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Author: lrk
 * @Date: 2023/3/17 上午 10:30
 * @Description:
 */
public class SafeUser {
    @ApiModelProperty("用户id")
    @TableId(value = "u_id", type = IdType.AUTO)
    private Integer uId;


    @ApiModelProperty("用户密码")
    @TableField("u_password")
    private String uPassword;

    @ApiModelProperty("用户昵称")
    @TableField("u_name")
    private String uName;

    @ApiModelProperty("用户性别")
    @TableField("u_sex")
    private String uSex;

    @ApiModelProperty("用户电话")
    @TableField("u_phon")
    private Integer uPhon;

    @ApiModelProperty("用户余额")
    @TableField("u_balanc")
    private Double uBalanc;

    @ApiModelProperty("用户状态（0：正常 1：不可用）")
    @TableField("u_flag")
    private String uFlag;

    @ApiModelProperty("用户权限（0：用户 1：管理员）")
    @TableField("u_power")
    private String uPower;
}
